package com.hy.erp.inventory.service.interfaces;

import java.util.List ;

import javax.ejb.Local;

import com.hy.enterprise.framework.service.business.IBusinessService;
import com.hy.erp.inventory.pojo.interfaces.IHealth;
import com.hy.erp.inventory.service.HealthService;
import com.hy.framework.lang.annotation.ImplementsBy;

@ Local
@ ImplementsBy ( HealthService .class ) 
public interface IHealthService extends IBusinessService < IHealth >{
	
	public String[] addHealth (
	                          Object[] health );
	public String[] modifyHealth (
		                          Object[] health );

	public boolean modifyHealth (
	                             IHealth health );

	public Integer removeHealth(
	                            String [ ] healthIds ) ;
	
	public List < IHealth > getHealthById(String[] Id);
	public List < IHealth > getAllHealth();
	public List < IHealth > getHealthByQueryName(String queryName,Object[] args);
	
}
